﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LitJson;
using System;

public class ScoreInfo{
    public int id;
    public string name;
    public string score;
}
public class ReaderInfo {
    public static List<ScoreInfo> Scorelist = new List<ScoreInfo>();
    public static List<T> ParseInfo<T>(string rout)
    {
        UnityEngine.TextAsset s = Resources.Load(rout) as TextAsset;
        string tem = s.text;
        return JsonMapper.ToObject<List<T>>(tem);
    }
} 
